package com.cjj.entity;

import java.math.BigDecimal;
import java.util.Date;

public class user {
    int deptNo;
    String dName;
    String loc;
    int empNo;
    String eName;
    String job;
    int mgr;
    Date hireDate;
    BigDecimal sal;
    BigDecimal comm;
    int grade;
    int loSal;
    int hiSal;


    public user() {
    }

    public user(int deptNo, int empNo, String eName, String job, int mgr, Date hireDate, BigDecimal sal, BigDecimal comm) {
        this.deptNo = deptNo;
        this.empNo = empNo;
        this.eName = eName;
        this.job = job;
        this.mgr = mgr;
        this.hireDate = hireDate;
        this.sal = sal;
        this.comm = comm;
    }

    @Override
    public String toString() {
        return "user{" +
                "deptNo=" + deptNo +
                ", empNo=" + empNo +
                ", eName='" + eName + '\'' +
                ", job='" + job + '\'' +
                ", mgr=" + mgr +
                ", hirDate=" + hireDate +
                ", sal=" + sal +
                ", comm=" + comm +
                '}';
    }

    public user(int deptNo, String dName, String loc, int empNo, String eName, String job, int mgr, Date hirDate, BigDecimal sal, BigDecimal comm, int grade, int loSal, int hiSal) {
        this.deptNo = deptNo;
        this.dName = dName;
        this.loc = loc;
        this.empNo = empNo;
        this.eName = eName;
        this.job = job;
        this.mgr = mgr;
        this.hireDate = hirDate;
        this.sal = sal;
        this.comm = comm;
        this.grade = grade;
        this.loSal = loSal;
        this.hiSal = hiSal;
    }

    public int getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(int deptNo) {
        this.deptNo = deptNo;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public int getEmpNo() {
        return empNo;
    }

    public void setEmpNo(int empNo) {
        this.empNo = empNo;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public int getMgr() {
        return mgr;
    }

    public void setMgr(int mgr) {
        this.mgr = mgr;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public BigDecimal getSal() {
        return sal;
    }

    public void setSal(BigDecimal sal) {
        this.sal = sal;
    }

    public BigDecimal getComm() {
        return comm;
    }

    public void setComm(BigDecimal comm) {
        this.comm = comm;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getLoSal() {
        return loSal;
    }

    public void setLoSal(int loSal) {
        this.loSal = loSal;
    }

    public int getHiSal() {
        return hiSal;
    }

    public void setHiSal(int hiSal) {
        this.hiSal = hiSal;
    }
}
